#ifndef IMAMMIFARE_H
#define IMAMMIFARE_H

#define  NW_RED 0

#define  	NW_GREEN 1
#define  	NW_ON 2
#define  	NW_OFF 3

#if 0

typedef enum NWColor {
	NW_RED,
	NW_GREEN,
	NW_ON,
	NW_OFF
};
#endif

int inImamMifare(void);
int inInitComPortForMifare(void);
int inEnableMifareReader(void);

int inNWTurnLamp (int inMode);
int inNWListPassiveTarget(char *szMifareID);
int inNWAutenticate (char *szMifareID, int inSector);
int inNWReadBlock(int inBlock, char *szDataBlock);
int inNWWriteBlock(int inBlock, char *szDataBlock);
int inNWDisplayPlaceYourCard(void);
int inImamMifareActivate (unsigned int inTimeOut, unsigned long ulAmount, char *stT1Data, char *stT2Data);

#endif
